package org.zs.miracle.service.auth.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.zs.miracle.common.base.dto.BaseDTO;
import org.zs.miracle.entity.enums.GenderEnum;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LoginOutputDTO extends BaseDTO {
  
  @Serial
  private static final long serialVersionUID = 6906705936429510608L;
  
  @Schema(description = "用户id")
  private Long id;
  
  /**
   * 访问Token
   */
  @Schema(description = "访问Token令牌")
  private String accessToken;
  
  /**
   * 用户名
   */
  @Schema(description = "用户名")
  private String username;
  
  /**
   * 账号
   */
  @Schema(description = "账号")
  private String account;
  
  /**
   * 性别
   */
  @Schema(description = "性别")
  private GenderEnum gender;
  
  /**
   * 手机号
   */
  @Schema(description = "手机号")
  private String phone;
  
  /**
   * 头像url
   */
  @Schema(description = "头像url")
  private String avatarUrl;
}